/*
 * 版权所有(c)  1952110078@qq.com  2022 - 2022
 */

package com.ldc.module_main.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * @author liudc
 * @since 2022/7/21 22:44
 */
public class PersonalizedModel {
    @SerializedName("hasTaste")
    private boolean hasTaste;
    @SerializedName("code")
    private int code;
    @SerializedName("category")
    private int category;
    @SerializedName("result")
    private List<ResultBean> result;

    public boolean isHasTaste() {
        return hasTaste;
    }

    public void setHasTaste(boolean hasTaste) {
        this.hasTaste = hasTaste;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        @SerializedName("id")
        private long id;
        @SerializedName("type")
        private int type;
        @SerializedName("name")
        private String name;
        @SerializedName("copywriter")
        private Object copywriter;
        @SerializedName("picUrl")
        private String picUrl;
        @SerializedName("canDislike")
        private boolean canDislike;
        @SerializedName("trackNumberUpdateTime")
        private long trackNumberUpdateTime;
        @SerializedName("playCount")
        private int playCount;
        @SerializedName("trackCount")
        private int trackCount;
        @SerializedName("highQuality")
        private boolean highQuality;
        @SerializedName("alg")
        private String alg;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getCopywriter() {
            return copywriter;
        }

        public void setCopywriter(Object copywriter) {
            this.copywriter = copywriter;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public boolean isCanDislike() {
            return canDislike;
        }

        public void setCanDislike(boolean canDislike) {
            this.canDislike = canDislike;
        }

        public long getTrackNumberUpdateTime() {
            return trackNumberUpdateTime;
        }

        public void setTrackNumberUpdateTime(long trackNumberUpdateTime) {
            this.trackNumberUpdateTime = trackNumberUpdateTime;
        }

        public int getPlayCount() {
            return playCount;
        }

        public void setPlayCount(int playCount) {
            this.playCount = playCount;
        }

        public int getTrackCount() {
            return trackCount;
        }

        public void setTrackCount(int trackCount) {
            this.trackCount = trackCount;
        }

        public boolean isHighQuality() {
            return highQuality;
        }

        public void setHighQuality(boolean highQuality) {
            this.highQuality = highQuality;
        }

        public String getAlg() {
            return alg;
        }

        public void setAlg(String alg) {
            this.alg = alg;
        }
    }
}
